package com.woniuxy.aimcpserver.tools;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Service;

@Service
public class testService {
    @Tool(description = "调用内部tool测试接口", name = "testQuery")
    public String gettest() {
        String str="test1111";
        return str;
    }
    @Tool(description = "你是谁", name = "testQuery2")
    public String gettest2() {
        String str="我是一个智慧社区ai对话助手，可以和我对话了解养老或者操作系统内部操作";
        return str;
    }
}
